package ooday04;

public class Chick extends Animal {
    Chick(){}
    Chick(String color,int age,String name){
        super(color,age,name);
    }
    void layEss(){
        System.out.println(name+"在下蛋");
    }
    void eat(){
        System.out.println(color+"色"+age+"岁的小鱼"+"叫"+name+"正在吃小米...");//重写
    }
}
